package com.marlon.auto.service;

import com.marlon.auto.common.base.service.ExcelBaseService;
import com.marlon.auto.entity.po.AreaInfoPO;
import com.marlon.auto.entity.vo.AreaInfoVO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author marlon
 * @since 2022-04-19
 */
public interface AreaInfoService extends ExcelBaseService<AreaInfoPO,String> {

    Page<AreaInfoVO> findAllByVOAndKeyword(AreaInfoVO query, Pageable page);

    List<AreaInfoVO> findAllAvailable();
}